package com.github.mrs.spring;

/** Bean的声明类，用来描述Bean；里面定义的Bean的类型（Class格式）和作用域
 * date: 2023/9/19 20:30
 * author: MR.孙
 */
public class BeanDefinition {

    private Class type;
    private String scope;

    public Class getType() {
        return type;
    }

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "type=" + type +
                ", scope='" + scope + '\'' +
                '}';
    }

    public void setType(Class type) {
        this.type = type;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
